package net.muchine.test.ddd.repository.collection;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import net.muchine.test.ddd.Registrar;
import net.muchine.test.ddd.domain.Customer;
import net.muchine.test.ddd.repository.CustomerRepository;

public class CollectionCustomerRepository implements CustomerRepository {
//	@Autowired private Registrar registrar;

	public void save(Customer customer) {
//		this.registrar.add(Customer.class, customer);
	}

	public Customer delete(String customerId) {
		return null;
//		return (Customer) this.registrar.delete(Customer.class, customerId);
	}

	public Customer find(String customerId) {
		return null;
//		return (Customer) this.registrar.get(Customer.class, customerId);
	}
}
